home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / exec / execbase.inc < prev    next >
Text File  |  1998-06-24  |  2KB  |  103 lines

  1. include "inc/exec/lists.inc";
  2. include "inc/exec/interrupts.inc";
  3. include "inc/exec/libraries.inc";
  4. include "inc/exec/tasks.inc";
  5.  
  6. struct ExecLibBase is
  7.   LibNode:Library;
  8.   SoftVer:uword;
  9.   LowMemChkSum:word;
  10.   ChkBase:ulong;
  11.   ColdCapture:ulong;
  12.   CoolCapture:ulong;
  13.   WarmCapture:ulong;
  14.   SysStkUpper:ulong;
  15.   SysStkLower:ulong;
  16.   MaxLocMem:ulong;
  17.   DebugEntry:ulong;
  18.   DebugData:ulong;
  19.   AlertData:ulong;
  20.   MaxExtMem:ulong;
  21.   ChkSum:uword;
  22.   IntVects[16]:IntVector;
  23.   ThisTask:ulong;
  24.   IdleCount:ulong;
  25.   DispCount:ulong;
  26.   Quantum:uword;
  27.   Elapsed:uword;
  28.   SysFlags:uword;
  29.   IDNestCnt:byte;
  30.   TDNestCnt:byte;
  31.   AttnFlags:uword;
  32.   AttnResched:uword;
  33.   ResModules:ulong;
  34.   TaskTrapCode:ulong;
  35.   TaskExceptCode:ulong;
  36.   TaskExitCode:ulong;
  37.   TaskSigAlloc:ulong;
  38.   TaskTrapAlloc:uword;
  39.   MemList:List;
  40.   ResourceList:List;
  41.   DeviceList:List;
  42.   IntrList:List;
  43.   LibList:List;
  44.   PortList:List;
  45.   TaskReady:List;
  46.   TaskWait:List;
  47.   SoftInts[5]:SoftIntList;
  48.   LastAlert[4]:long;
  49.   VBlankFrequency:ubyte;
  50.   PowerSupplyFrequency:ubyte;
  51.   SemaphoreList:List;
  52.   KickMemPtr:ulong;
  53.   KickTagPtr:ulong;
  54.   KickCheckSum:ulong;
  55.   ex_Pad0:uword;
  56.   ex_LaunchPoint:ulong;
  57.   ex_RamLibPrivate:ulong;
  58.   ex_EClockFrequency:ulong;
  59.   ex_CacheControl:ulong;
  60.   ex_TaskID:ulong;
  61.   ex_Reserved1[5]:ulong;
  62.   ex_MMULock:ulong;
  63.   ex_Reserved2[3]:ulong;
  64.   ex_MemHandlers:MinList;
  65.   ex_MemHandler:ulong;
  66. ;
  67.  
  68. def AFB_68010 = 0;
  69. def AFB_68020 = 1;
  70. def AFB_68030 = 2;
  71. def AFB_68040 = 3;
  72. def AFB_68881 = 4;
  73. def AFB_68882 = 5;
  74. def AFB_FPU40 = 6;
  75. def AFB_PRIVATE = 15;
  76.  
  77. def AFF_68010 = (1<<0);
  78. def AFF_68020 = (1<<1);
  79. def AFF_68030 = (1<<2);
  80. def AFF_68040 = (1<<3);
  81. def AFF_68881 = (1<<4);
  82. def AFF_68882 = (1<<5);
  83. def AFF_FPU40 = (1<<6);
  84.  
  85. def AFF_PRIVATE = (1<<15);
  86.  
  87. def CACRF_EnableI = (1<<0);
  88. def CACRF_FreezeI = (1<<1);
  89. def CACRF_ClearI = (1<<3);
  90. def CACRF_IBE = (1<<4);
  91. def CACRF_EnableD = (1<<8);
  92. def CACRF_FreezeD = (1<<9);
  93. def CACRF_ClearD = (1<<11);
  94. def CACRF_DBE = (1<<12);
  95. def CACRF_WriteAllocate = (1<<13);
  96. def CACRF_EnableE = (1<<30);
  97. def CACRF_CopyBack = (1<<31);
  98.  
  99. def DMA_Continue = (1<<1);
  100. def DMA_NoModify = (1<<2);
  101. def DMA_ReadFromRAM = (1<<3);
  102.  
  103.